luci-app-acl: ensure to set read/write ACL presets as uci lists
authorJo-Philipp Wich <[email protected]>
Wed, 7 Jul 2021 14:48:09 +0000 (16:48 +0200)
committerJo-Philipp Wich <[email protected]>
Wed, 7 Jul 2021 15:17:13 +0000 (17:17 +0200)
commit2b87ea0fc2eef6ce87fae13ebae8416b895a3394
tree63cefd87dbf0f791c0d53ea8ace13a234f0c4451
parent720a57647bfc43202c72ce0a9a90c2fd72483d84
luci-app-acl: ensure to set read/write ACL presets as uci lists

The rpcd daemon expects uci list notation for the login.read and login.write
options, so ensure to set them accordingly when chosing the `full access` or
`readonly` presets while configuring an account.

Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit 9922c838cd1abcda60f4e93b89b0c52a101fc667)
applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js